package edu.scau.mis.pos.domain;

import edu.scau.mis.core.domain.BaseEntity;
import edu.scau.mis.person.domain.Employees;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * (Order)实体类
 *
 * @author xzh
 * @since 2024-04-04 00:21:48
 */
public class Order extends BaseEntity {
    private static final long serialVersionUID = -44030237941713551L;
    /**
    * 订单id
    */
    private Long orderId;
    /**
    * 订单编号
    */
    private String orderNo;
    /**
    * 客户姓名
    */
    private String customerName;
    /**
    * 客户电话
    */
    private String customerPhone;

    public String getCustomerInfo() {
        return customerInfo;
    }

    public void setCustomerInfo(String customerInfo) {
        this.customerInfo = customerInfo;
    }

    private String customerInfo;

    public String getAllThings() {
        return allThings;
    }

    public void setAllThings(String allThings) {
        this.allThings = allThings;
    }

    private String allThings;
    /**
    * 预约开始时间
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date orderTime;

    public String getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(String orderDate) {
        this.orderDate = orderDate;
    }

    private String orderDate;
    /**
    * 会员ID
    */
    private Long vipId;

    /**
    * 发型师姓名
    */
    private String tonyName;
    /**
    * 技师姓名
    */
    private String assName;

    /**
    * 订单状态（0：已预约，1：挂账中）
    */
    private Integer status;
    /**
    * 逻辑删除（0：隐藏，1：显示）
    */
    private Integer display;

    private List<OrderItem> orderItems = new ArrayList<>();

    private List<Vip> vips = new ArrayList<>();

    public List<Vip> getVips() {
        return vips;
    }

    public void setVips(List<Vip> vips) {
        this.vips = vips;
    }

    public List<OrderItem> getOrderItems() {
        return orderItems;
    }

    public void setOrderItems(List<OrderItem> orderItems) {
        this.orderItems = orderItems;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Long getVipId() {
        return vipId;
    }

    public void setVipId(Long vipId) {
        this.vipId = vipId;
    }

    public String getTonyName() {
        return tonyName;
    }

    public void setTonyName(String tonyName) {
        this.tonyName = tonyName;
    }

    public String getAssName() {
        return assName;
    }

    public void setAssName(String assName) {
        this.assName = assName;
    }


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDisplay() {
        return display;
    }

    public void setDisplay(Integer display) {
        this.display = display;
    }

}
